package com.ruoyi.web.purchase.service;

import java.util.List;
import com.ruoyi.web.purchase.domain.Purchase;

/**
 * 采购查询Service接口
 * 
 * @author czr
 * @date 2024-08-14
 */
public interface IPurchaseService 
{
    /**
     * 查询采购查询
     * 
     * @param ID 采购查询主键
     * @return 采购查询
     */
    public Purchase selectPurchaseByID(Long ID);

    /**
     * 查询采购查询列表
     * 
     * @param purchase 采购查询
     * @return 采购查询集合
     */
    public List<Purchase> selectPurchaseList(Purchase purchase);
    List<Purchase> getFundTest(String searchmonth);

    /**
     * 新增采购查询
     * 
     * @param purchase 采购查询
     * @return 结果
     */
    public int insertPurchase(Purchase purchase);

    /**
     * 修改采购查询
     * 
     * @param purchase 采购查询
     * @return 结果
     */
    public int updatePurchase(Purchase purchase);

    /**
     * 批量删除采购查询
     * 
     * @param IDs 需要删除的采购查询主键集合
     * @return 结果
     */
    public int deletePurchaseByIDs(Long[] IDs);

    /**
     * 删除采购查询信息
     * 
     * @param ID 采购查询主键
     * @return 结果
     */
    public int deletePurchaseByID(Long ID);
}
